import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgValidateForm } from '@farris/devkit';
var YlfxComponentViewmodelForm = /** @class */ (function (_super) {
    tslib_1.__extends(YlfxComponentViewmodelForm, _super);
    function YlfxComponentViewmodelForm() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgFormControl({
            id: 'mdyye',
            name: "{{mdyye_eb1f18a6_6q17}}",
            binding: 'mdyye',
            updateOn: 'blur',
            defaultI18nValue: '门店营业额',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], YlfxComponentViewmodelForm.prototype, "mdyye", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'mdcb',
            name: "{{mdcb_1509d61a_0ews}}",
            binding: 'mdcb',
            updateOn: 'blur',
            defaultI18nValue: '门店成本',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], YlfxComponentViewmodelForm.prototype, "mdcb", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'mdlr',
            name: "{{mdlr_88b6d257_7zkn}}",
            binding: 'mdlr',
            updateOn: 'blur',
            defaultI18nValue: '门店利润',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], YlfxComponentViewmodelForm.prototype, "mdlr", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'mdylr',
            name: "{{mdylr_35be6172_07ue}}",
            binding: 'mdylr',
            updateOn: 'blur',
            defaultI18nValue: '门店月利润',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], YlfxComponentViewmodelForm.prototype, "mdylr", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'mdnlr',
            name: "{{mdnlr_b775486b_wv24}}",
            binding: 'mdnlr',
            updateOn: 'blur',
            defaultI18nValue: '门店年利润',
            validRules: [
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], YlfxComponentViewmodelForm.prototype, "mdnlr", void 0);
    YlfxComponentViewmodelForm = tslib_1.__decorate([
        Injectable(),
        NgValidateForm({
            formGroupName: '门店盈利分析',
            enableValidate: true
        }),
        Injectable()
    ], YlfxComponentViewmodelForm);
    return YlfxComponentViewmodelForm;
}(Form));
export { YlfxComponentViewmodelForm };
